home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianSciences.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  786b  |  33 lines

  1. /*ScianSciences.h
  2.   Eric Pepke
  3.   Septembet 27, 1992
  4.   Includes for ScianSciences.c
  5. */
  6.  
  7. #define N_ATOMS        103        /*Number of atoms in internal table.*/
  8.  
  9. /*Information on an atom*/
  10. typedef struct
  11.     {
  12.     char *shortName;        /*Periodic table name*/
  13.     char *longName;            /*Spelled-out name*/
  14.     real weight;            /*Weight of most common isotope*/
  15.     real radius;            /*Radius for display purposes*/
  16.     real covalentRadius;        /*Covalent radius*/
  17.     short color[3];            /*Components of base color*/
  18.     } AtomInfo;
  19.  
  20. extern AtomInfo atomInfo[N_ATOMS];
  21.  
  22. #ifdef PROTO
  23. void InitSciences(void);
  24. void KillSciences(void);
  25. int AtomNameToNumber(char *name);
  26. ObjPtr UnitsNameToPalette(char *name, real min, real max);
  27. #else
  28. void InitSciences();
  29. void KillSciences();
  30. int AtomNameToNumber();
  31. ObjPtr UnitsNameToPalette();
  32. #endif
  33.